﻿<UserControl x:Class="CustomChromeLibrary.CaptionButtons"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
			 xmlns:ccl="clr-namespace:CustomChromeLibrary" mc:Ignorable="d" 
             >
	<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type ccl:CustomChromeWindow}}, Path=CaptionButtonMargin}">
		<ccl:MinimizeButton/>
		<ccl:MaximizeButton/>
		<ccl:CloseButton/>
	</StackPanel>
</UserControl>
